package com.uphone.kingmall.bean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/20
 *     desc   :
 * </pre>
 */
public class ShoppingCartBean {

    /**
     * msg : ok
     * code : 0
     * shopCar : [{"shopId":1,"shopName":"测试店铺","goods":[{"shopCarId":1,"goodsId":1,"goodsPropId":"1","goodsSpec":"300 ","goodsPerFee":124,"goodsNum":1,"goodsName":"优质商品","goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsState":1}]}]
     */

    private String msg;
    private int code;
    private List<ShopCarBean> shopCar;
    private boolean select = false;

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ShopCarBean> getShopCar() {
        return shopCar;
    }

    public void setShopCar(List<ShopCarBean> shopCar) {
        this.shopCar = shopCar;
    }

    public static class ShopCarBean {
        /**
         * shopId : 1
         * shopName : 测试店铺
         * goods : [{"shopCarId":1,"goodsId":1,"goodsPropId":"1","goodsSpec":"300 ","goodsPerFee":124,"goodsNum":1,"goodsName":"优质商品","goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsState":1}]
         */

        private int shopId;
        private String shopName;
        private List<GoodsBean> goods;
        private boolean select = false;

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }


        public int getShopId() {
            return shopId;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * shopCarId : 1
             * goodsId : 1
             * goodsPropId : 1
             * goodsSpec : 300
             * goodsPerFee : 124
             * goodsNum : 1
             * goodsName : 优质商品
             * goodsMainImg : http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg
             * goodsState : 1
             */

            private int shopCarId;
            private int goodsId;
            private String goodsPropId;
            private String goodsSpec;
            private double goodsPerFee;
            private int goodsNum;
            private String goodsName;
            private String goodsMainImg;
            private int goodsState;
            private boolean select = false;
            private int repertoryNum;
            private int repertoryTim;

            public int getRepertoryNum() {
                return repertoryNum;
            }

            public void setRepertoryNum(int repertoryNum) {
                this.repertoryNum = repertoryNum;
            }

            public int getRepertoryTim() {
                return repertoryTim;
            }

            public void setRepertoryTim(int repertoryTim) {
                this.repertoryTim = repertoryTim;
            }

            public boolean isSelect() {
                return select;
            }

            public void setSelect(boolean select) {
                this.select = select;
            }

            public int getShopCarId() {
                return shopCarId;
            }

            public void setShopCarId(int shopCarId) {
                this.shopCarId = shopCarId;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsPropId() {
                return goodsPropId;
            }

            public void setGoodsPropId(String goodsPropId) {
                this.goodsPropId = goodsPropId;
            }

            public String getGoodsSpec() {
                return goodsSpec;
            }

            public void setGoodsSpec(String goodsSpec) {
                this.goodsSpec = goodsSpec;
            }

            public double getGoodsPerFee() {
                return goodsPerFee;
            }

            public void setGoodsPerFee(double goodsPerFee) {
                this.goodsPerFee = goodsPerFee;
            }

            public int getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(int goodsNum) {
                this.goodsNum = goodsNum;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsMainImg() {
                return goodsMainImg;
            }

            public void setGoodsMainImg(String goodsMainImg) {
                this.goodsMainImg = goodsMainImg;
            }

            public int getGoodsState() {
                return goodsState;
            }

            public void setGoodsState(int goodsState) {
                this.goodsState = goodsState;
            }
        }
    }
}
